﻿@model IEnumerable<Work04_01.Models.POJO.AssetLevel1>


<td>
    @Html.ActionLink("添加类别", "CreateDepartmentalAssets1") 
</td>
<table class="table">
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.assetLevel1Id)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.assetLevel1Name)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.ownerDeptId)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
<tr>
    <td>
        @Html.DisplayFor(modelItem => item.assetLevel1Id)
    </td>
    <td>
        @Html.DisplayFor(modelItem => item.assetLevel1Name)
    </td>
    <td>
        @Html.DisplayFor(modelItem => item.ownerDeptId)
    </td>
    <td>
        @Html.ActionLink("详情", "DepartmentalAssets2",new {  assetLevel1Id= item.assetLevel1Id,  ownerDeptId = item.ownerDeptId }) 
        
    </td>
</tr>
}

</table>
